public class PayServiceTest {
    public static void main(String[] args) {

        PayService payService = new WeixinPayService();

        Order order = new Order();

        order.setOrderId("123");
        order.setTotalAmount(100d);

        payService.pay(order);

        payService.callback("123", 100d);
    }
}
